UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SSH daemon must be configured to use only FIPS 140-2 approved ciphers.


Overview

Finding ID Version Rule ID IA Controls Severity
V-219561 OL6-00-000243 SV-219561r505921_rule Medium
Description
Approved algorithms should impart some level of confidence in their implementation. These are also required for compliance.
STIG Date
Oracle Linux 6 Security Technical Implementation Guide 2020-09-10

Details

Check Text ( C-21286r358223_chk )
Only FIPS-approved ciphers should be used. To verify that only FIPS-approved ciphers are in use, run the following command:

# grep -i Ciphers /etc/ssh/sshd_config

Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes192-cbc,aes256-cbc

If any ciphers listed are not FIPS-approved, this is a finding.
Fix Text (F-21285r358224_fix)
Limit the ciphers to those algorithms which are FIPS-approved. Counter (CTR) mode is also preferred over cipher-block chaining (CBC) mode. The following line in "/etc/ssh/sshd_config" demonstrates use of FIPS-approved ciphers:

Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes192-cbc,aes256-cbc

Note: The man page "sshd_config(5)" contains a list of supported ciphers.